package com.atguigu.lease.web.app.mapper;

import com.atguigu.lease.model.entity.FacilityInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author liubo
* @description 针对表【facility_info(配套信息表)】的数据库操作Mapper
* @createDate 2023-07-26 11:12:39
* @Entity com.atguigu.lease.model.entity.FacilityInfo
*/
public interface FacilityInfoMapper extends BaseMapper<FacilityInfo> {

    /**
     * @author gengjian
     * @date 2024/12/15 17:41:58
     * 根据公寓id获取配套列表
     */
    List<FacilityInfo> selectListFacilityInfoByApartmentId(Long id);

    /**
     * @author gengjian
     * @date 2024/12/15 18:13:27
     * 根据房间id获取配套信息列表
     */
    List<FacilityInfo> selectListFacilityInfoByRoomId(Long id);
}




